package com.kiloai.digcust.adapter;


import com.david.recyclerview.adapter.base.BaseAdapter;
import com.david.recyclerview.adapter.base.BaseViewHolder;
import com.kiloai.base.entity.TalkList;
import com.kiloai.digcust.R;

/**
 * Created by david on 2018/8/17.
 */

public class TalkCategoriesAdapter extends BaseAdapter<TalkList, BaseViewHolder> {
    public TalkCategoriesAdapter() {
        super(R.layout.item_talk_list, 0);
    }

    @Override
    protected void bind(BaseViewHolder holder, TalkList item) {
        holder.getTextView(R.id.tv_title).setText(item.getTitle());
        holder.addViewOnClickListener(R.id.ll_root);
    }
}
